﻿using System;
using System.Threading.Tasks;
using abp.Login;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Authorization.Permissions;

namespace abp.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class LoginController : abpController
    {
        private readonly IPermissionDefinitionManager permissionDefinitionManager;

        public LoginController(IPermissionDefinitionManager permissionDefinitionManager)
        {
            this.permissionDefinitionManager = permissionDefinitionManager;
        }

        public async Task LoginAsync(LoginDto input)
        {
            var permissions = permissionDefinitionManager.GetPermissions();

            Console.WriteLine();
        }

    }
}